package co.fitstart.coach.service;

import com.demo2do.core.service.GenericService;

import co.fitstart.entity.principal.Principal;
import co.fitstart.entity.site.Site;

/**
 * 
 * @author downpour
 */
public interface PrincipalService extends GenericService<Principal> {
    
    /**
     * get principal by mobile ( userid )
     * 
     * @param mobile
     * @return
     */
    public Principal getPrincipal(String mobile);
    
    /**
     * 
     * @param principal
     * @return
     */
    public Site decideSite(Principal principal);
    
}
